package com.djt.book_system.entity;

import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * (News)实体类
 *
 * @author makejava
 * @since 2021-05-19 10:48:13
 */
@Data
public class News implements Serializable {
    private static final long serialVersionUID = -83907622507218337L;
    /**
     * 主键
     */
    private Integer nid;
    /**
     * 消息内容
     */
    private String ncontent;
    /**
     * 消息类型
     */
    private Integer btype;
    /**
     * 接收用户id
     */
    private Integer uid;
    /**
     * 时间
     */
    private Date ntime;
    /**
     * 消息标题
     */
    private String ntitle;
    /**
     * 发送者id
     */
    private Integer sendid;


    public Integer getNid() {
        return nid;
    }

    public void setNid(Integer nid) {
        this.nid = nid;
    }

    public String getNcontent() {
        return ncontent;
    }

    public void setNcontent(String ncontent) {
        this.ncontent = ncontent;
    }

    public Integer getBtype() {
        return btype;
    }

    public void setBtype(Integer btype) {
        this.btype = btype;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Date getNtime() {
        return ntime;
    }

    public void setNtime(Date ntime) {
        this.ntime = ntime;
    }

    public String getNtitle() {
        return ntitle;
    }

    public void setNtitle(String ntitle) {
        this.ntitle = ntitle;
    }

    public Integer getSendid() {
        return sendid;
    }

    public void setSendid(Integer sendid) {
        this.sendid = sendid;
    }

}
